package com.woniuxy.dao;

import java.util.List;

import com.woniuxy.pojo.Refuel;

public interface RefuelMapper {
    int deleteByPrimaryKey(Integer refuelId);

    int insert(Refuel record);

    void insertSelective(Refuel record);

    Refuel getRefuelById(Integer refuelId);

    void updateByPrimaryKeySelective(Refuel record);

    int updateByPrimaryKey(Refuel record);
    
    List<Refuel> getAllRefuels(Refuel Refuel);
    
    Refuel  getLastRefuel(String carlicense);
    
    void deleteRefuelByIds(String[] ids);
    
    Double selectCostByCarlicense(String carlicense);

}